package com.jz.pay.bo;

import java.util.concurrent.TimeUnit;

public interface RedisTemplateBO {

    void setString(String key,String value);

    void setString(String key,String value,long timeout);

    void setString(String key,String value,long timeout, TimeUnit timeUnit);

    String getString(String key);

    void setObject(String key,Object value);

    void setObject(String key,Object value,long timeout);

    void setObject(String key,Object value,long timeout, TimeUnit timeUnit);

    String getObject(String key);

    boolean exist(String key);

    Long del(String key);

    void hashIncre(String key,String property);
    void hashIncre(String key,String property,long increment);



}
